home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 June / SGI Freeware 1998 June.iso / dist / fw_ATxgopher.idb / usr / freeware / src / xgopher.1.3 / item.h.z / item.h
C/C++ Source or Header  |  1998-01-21  |  2KB  |  70 lines

  1. /* item.h
  2.    header file for item.c */
  3.  
  4.      /*---------------------------------------------------------------*/
  5.      /* Xgopher        version 1.3     08 April 1993                  */
  6.      /*                version 1.2     20 November 1992               */
  7.      /*                version 1.1     20 April 1992                  */
  8.      /*                version 1.0     04 March 1992                  */
  9.      /* X window system client for the University of Minnesota        */
  10.      /*                                Internet Gopher System.        */
  11.      /* Allan Tuchman, University of Illinois at Urbana-Champaign     */
  12.      /*                Computing and Communications Services Office   */
  13.      /* Copyright 1992, 1993 by                                       */
  14.      /*           the Board of Trustees of the University of Illinois */
  15.      /* Permission is granted to freely copy and redistribute this    */
  16.      /* software with the copyright notice intact.                    */
  17.      /*---------------------------------------------------------------*/
  18.  
  19.  
  20. #ifndef ITEM_H
  21. #define ITEM_H
  22.  
  23. #include "gopher.h"
  24.  
  25.  
  26. gopherItemP    newItem(
  27.         );
  28.  
  29. gopherItemP    copyItem(
  30. #ifdef PROTO
  31.             gopherItemP    /* gi */
  32. #endif
  33.         );
  34.  
  35. void        freeItem(
  36. #ifdef PROTO
  37.             gopherItemP    /* gi */
  38. #endif
  39.         );
  40.  
  41. BOOLEAN        compareItem(
  42. #ifdef PROTO
  43.             gopherItemP,    /* g1 */
  44.             gopherItemP    /* g2 */
  45. #endif
  46.         );
  47.  
  48. void        initItemFields(
  49. #ifdef PROTO
  50.             gopherItemP    /* gi */
  51. #endif
  52.         );
  53.  
  54. char *        getItemIndex(
  55. #ifdef PROTO
  56.             gopherItemP    /* gi */
  57. #endif
  58. );
  59.  
  60. #ifdef DEBUG_LIST
  61. void            printItem(
  62. #ifdef PROTO
  63.             gopherItemP,    /* gi */
  64.             char *        /* label */
  65. #endif
  66. );
  67. #endif /* DEBUG_LIST */
  68.  
  69. #endif /* ITEM_H */
  70.